var mongoose=require('mongoose');
var config=require('../../config/config.js')();
var dURL=config.dURL,dPORT=config.dPORT,dNAME=config.dNAME;
// var db=mongoose.createConnection('mongodb://'+'huangson:huangson@'+dURL+':'+dPORT+'/'+dNAME);
var db=mongoose.createConnection('mongodb://'+'huang:huang@'+dURL+':'+dPORT+'/'+dNAME);
// var db=mongoose.createConnection('mongodb://'+dURL+':'+dPORT+'/'+dNAME);
module.exports=db;
